<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head th:replace="_fragments :: head(~{::title})">
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <!--semantic-ui的cdn引入-->
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/semantic-ui@2.4.2/dist/semantic.min.css">
</head>
<body>

    <!--导航部分-->
    <nav th:replace="_fragments ::menu" class="ui inverted attached segment">
        <div class="container">
            <div class="ui inverted stackable menu">
                
                <h2 class="ui teal header item m-padding-up-dowm-min">LOG</h2>

                <a href="" class="item"><i class="home icon"></i>首页</a>

                <a href="" class="item"><i class="edit icon"></i>分类</a>

                <a href="" class="item"><i class="tags icon"></i>标签</a>

                <a href="" class="item"><i class="print icon"></i>关于我</a>

                <!--搜索栏-->
                <div class="right item">
                <div class="ui icon inverted transparent input">
                    <i class="search link icon"></i>
                    <input type="text" placeholder="搜索">
                </div>
                </div>
            </div>
        </div>
    </nav>

    <!--中间内容-->
    <div class="m-footer-padding-up-dowm-min">
        <div class="ui container">
            <div class="ui stackable grid">

                <div class="three wide column"></div>

                <!--图片部分-->
                <div class="seven wide column">
                    <img src="https://picsum.photos/id/237/800/400" class="ui rounded centered image" th:src="@{/images/me.png}" style="width: 400px;">
                </div>

                <!--介绍部分-->
                <div class="five wide column">
                    <!--头部-->
                    <div class="ui top attached segment">
                        <div class="ui header">关于我</div>
                    </div>
                    <!--说明文字-->
                    <div class="ui attached segment">
                        <p>关于我de说明</p>
                        <p>关于我de说明</p>
                        <p>关于我de说明</p>
                        <p>关于我de说明</p>
                    </div>
                    <!--标签-->
                    <div class="ui attached segment">
                        <div class="ui orange left pointing basic label">编程</div>
                        <div class="ui orange left pointing basic label">音乐</div>
                        <div class="ui orange left pointing basic label">二次元</div>
                        <div class="ui orange left pointing basic label">and....</div>
                    </div>
                    <div class="ui attached segment">
                        <div class="ui teal left pointing basic label">java</div>
                        <div class="ui teal left pointing basic label">python</div>
                        <div class="ui teal left pointing basic label">C++</div>
                        <div class="ui teal left pointing basic label">and....</div>
                    </div>
                    <!--链接-->
                    <div class="ui bottom attached segment">
                        <a href="#" class="ui circular icon button"><i class="github icon"></i></a>
                        <a href="#" class="ui circular icon button"><i class="weixin icon"></i></a>
                        <a href="#" class="ui circular icon button"><i class="qq icon"></i></a>
                    </div>
                </div>

                <div class="one wide column"></div>
            </div>
        </div>
    </div>

    <!--底部footer-->
    <footer th:replace="_fragments ::footer" class="ui inverted center aligned vertical segment m-footer-padding-up-dowm-min">
        <div class="container">
            <!--grid:横向分成16份,底下的元素为3+3+3+7-->
            <div class="ui divided  inverted grid">

                <div class="three wide column">
                    <h4 class="ui inverted header">二维码</h4>
                    <img src="..\static\images\二维码.png"  style="width: 80px;">
                </div>

                <div class="three wide column">
                    <h4 class="ui inverted header">个人博客</h4>
                    <div class="ui inverted list link">
                        <a href="#" class="item">1.0 xxx</a>
                        <a href="#" class="item">2.0 xxx</a>
                        <a href="#" class="item">3.0 xxx</a>
                    </div>
                </div>

                <div class="three wide column">
                    <h4 class="ui inverted header">联系我</h4>
                    <div class="ui inverted list link">
                        <a href="#" class="item">微信:13776710591</a>
                        <a href="#" class="item">QQ:2899847639</a>
                        <a href="#" class="item">GitHub:xxxxxxx</a>
                    </div>
                </div>

                <div class="seven wide column">
                    <h4 class="ui inverted header">个人博客</h4>
                    <p>
                        emmm,你要说点什么
                    </p>
                </div>
            </div>

            <!--一条线-->
            <div class="ui inverted section divider"></div>
            <p>emmm,你要说点什么</p>

        </div>
    </footer>

    <!--引入jquery和semantic-ui-->
    <script src="http://libs.baidu.com/jquery/2.0.0/jquery.min.js"></script>
    <script src="https://cdn.jsdelivr.net/npm/semantic-ui@2.4.2/dist/semantic.min.js"></script>
</body>

<style>
    /*semantic-ui注释覆盖需要加important*/

    /*用于调整导航上下边距*/
    .m-padding-up-dowm-min{
        padding-top: 0.2em !important;
        padding-bottom: 0.2em !important;
    }

    /*用于调整footer的上下边距*/
    .m-footer-padding-up-dowm-min{
        padding-top: 5em !important;
        padding-bottom: 5em !important;
    }

    /*在一行内显示*/
    .m-inline-block{
        display: inline-block !important;
    }
</style>
</html>